/* -- Normalization --------------------------------------------------------------------------------------- */

/*
 * 1. Sets default font family to sans-serif.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

* {
	margin: 0;
	padding: 0;
}

html {
	font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/*
 * Addresses styling for `hidden` attribute not present in IE 8/9.
 */
[hidden] {
	display: none;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers.
 */
a:focus ,
a:active,
a:hover {
	outline: 0;
}

/*
 * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
	font-weight: bold;
}

/*
 * Improves readability of pre-formatted text in all browsers.
 */
pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

img {
	border: 0;
}

/*
 * 1. Corrects font family not being inherited in all browsers.
 * 2. Corrects font size not being inherited in all browsers.
 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
 */
button,
input,
select,
textarea {
	box-sizing: border-box;
	font-family: inherit;
	font-size: 100%;
}

input[type=checkbox] {
	-moz-appearance: checkbox;
	-ms-appearance: checkbox;
	-o-appearance: radio;
	-webkit-appearance: checkbox;
	appearance: checkbox;
	height: auto !important;
	width: auto !important;
}

input[type=radio] {
	-moz-appearance: radio;
	-ms-appearance: radio;
	-o-appearance: radio;
	-webkit-appearance: radio;
	appearance: radio;
	background: transparent;
	border: 0;
	height: auto !important;
	width: auto !important;
}

input, textarea, select {
	border: 1px solid #cccccc;
	background: #fffbf0;
}

/*
 * 1. Removes default vertical scrollbar in IE 8/9.
 * 2. Improves readability and alignment in all browsers.
 */
textarea {
	overflow: auto;
	resize: none;
	vertical-align: top;
}

/*
 * Form elements focus state
 */
input:not([readonly]):focus, textarea:not([readonly]):focus, select:not([readonly]):focus {
	border: 1px solid #5b80ac;
	cursor: text !important;
}
 
input[type=checkbox]:focus, 
input[type=radio]:focus {
	background: transparent !important;
	border: 0 !important;
}

/*
 * Form elements disabled state
 */
input[disabled], select[disabled], textarea[disabled] {	
	opacity: .4;
}

/*
 * Form elements readonly state
 */
input[readonly], select[readonly], textarea[readonly] {
	background: transparent;
	border: 1px solid transparent;
	cursor: default;
}

/*
 * Form elements required state
 */
input[required], select[required], textarea[required] {
	border-color: #eb9db4;
}

input:invalid {
	border-color: #eb9db4;
	outline-color: rgba(0,0,0,0);
  outline-style: none;
  outline-width: 0;
}

:-moz-ui-invalid {
	box-shadow: none !important;
}

/*
 * Corrects `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
	display: block;
}

/*
 * Corrects `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
	display: inline-block;
}


ul {
	list-style-position: outside;
	list-style-type: circle;
	margin-left: 15px;
}

ul li {
	margin-bottom: 10px;
}

ul li:last-child {
	margin-bottom: 0;
}